<template>
  <div>
    <Top/>
    <ShopNav/>
    <!-- <Addlist/> -->
    <!-- 列表 -->
    <addlist>
    </addlist>
    <!--  -->
    <div class="xin">商品信息</div>
    <shopconts>
        <FaTick/>
    </shopconts>
    <ShopAdress/>
    <Foot/>

</div>
</template>

<script>
import Top from '../Topnav';
import Foot from '../Foot';
import ShopNav from './com/ShopNav';
import Search from '../Topsearch';
import ShopCont from './com/ShopCont';
import ShopAdress from './com/ShopAdress';
// 添加收货地址
import Sadd from './com/Sadd';
import Add from '../Sadd1';
import BtnAdd from '../BtnAdd';
// 票据
import FaTick from './com/FaTick';
import Addlist from './com/Addlist';
// 地址时间
import Addtimer from './com/AddTimer';

export default {
    name:'Shoptwo',
    data(){
        return{

        }
    },
    components:{
        Foot,
        Top,
        ShopNav,
        Search,
        "shopconts":ShopCont,
        ShopAdress,
        Sadd,
        Add,
        'btnadd':BtnAdd,
        FaTick,
        'addlist':Addlist,
        Addtimer

    },
     beforeMount(){
      this.$store.state.wly[0].ads=1;
    },
    mounted(){
      this.$store.state.wly[0].ads=1;
      console.log(this.$store.state.wly[0].ads);
    },
    methods:{
        goPost(){
          console.log(this.$store.state.wadd1);
        }
    }

}
</script>

<style scoped>
.xin{
  width: 1280px;
  max-width: 1280px;
  margin: 0 auto;
  line-height: 59px;
  border-top: 1px solid #e9e9e9;
  text-align: left;
  font-size: 18px;
  color: #666666;
}
</style>